const mongoose = require('mongoose');
const { ObjectId } = mongoose.Schema;

/**
 * Export model definition object.
 */
module.exports = {
  projectId: ObjectId,
  versionId: { type: ObjectId, index: true },
  fileId: { type: ObjectId, unique: true, index: true },
  globals: Object,
};
